<%--
  Created by IntelliJ IDEA.
  User: wd
  Date: 2020/3/13
  Time: 17:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
list
Welcome: <shiro:principal></shiro:principal>
登录成功
<br><br>
<shiro:hasRole name="admin">
    <a href="admin.jsp">Admin</a>
</shiro:hasRole>
<br><br>
<shiro:hasRole name="user">
    <a href="user.jsp">User</a>
</shiro:hasRole>
<br><br>
<a href="/shiro/testAnnotation">testAnnotation</a>
<br><br>
<a href="/shiro/logout">logout</a>
</body>
</html>
